﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VietImage.Models.Image>" %>
<%
    int lang = 2;    
%>
    <div onclick="hidePanel();" class="panel_close">CLOSE X</div>
    <div class="panel_left"></div>
    <div class="panel_top"></div>
    <div class="panel_topleft"></div>
    <div class="panel_topright"></div>
    <div class="panel_right"></div>
    <div class="panel_bottomleft"></div>
    <div class="panel_bottom"></div>
    <div class="panel_bottomright"></div>

<div id="imginfo">
    <div id="imginfo_img">
        <img alt="<%= Model.GetDetail(lang).Name %>" src="/Image/Display/<%= Model.ID %>">
    </div>
    <div id="imginfo_info">
        <div id="imginfo_name">
            <div class="left">Tên ảnh</div>
            <div class="info"><%= Model.GetDetail(lang).Name %></div>
            <div class="clear"></div>
        </div>
        <div id="imginfo_author">
            <div class="left">Tác giả</div>
            <div class="info"><%= Model.Author %></div>
            <div class="clear"></div>
        </div>
        <div id="imginfo_date">
            <div class="left">Ngày đăng</div>
            <div class="info"><%= Model.CreatedTime.ToString("d/M/yyyy") %></div>
            <div class="clear"></div>
        </div>
        <div id="imginfo_desc">
            <div class="left">Mô tả</div>
            <div class="clear"><%= Model.GetDetail(lang).Description %></div>
            <div class="clear"></div>
        </div>
        <div id="imginfo_key">
            <div class="left">Từ khóa</div>
            <div class="info"><%= Model.GetDetail(lang).Tag %></div>
            <div class="clear"></div>
        </div>
        <div id="imginfo_download">
            <span><a><img src="/Content/Images/download.png" />Fullsize</a> | <a>Smallsize</a> | <a>Thumbmail</a></span>
        </div>
    </div>
    <div class="clear"></div>
</div>
